package cloud.dowhat.monolith.web.service;

public interface IRecipientService {
    /**
     * 获取新邮件
     * @param address 旧邮件地址
     * @return new address
     */
    String getNewRecipient(String address);

    /**
     * 关闭时删除邮件地址
     * @param address 邮件地址
     */
    void update(String address);
}
